home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / biz / demo / pbdemo303.lha / Install / To-HardDisk < prev    next >
Text File  |  1993-03-16  |  1KB  |  61 lines

  1. .bra {
  2. .ket }
  3. ; Set the directories for the Pro-Board_DEMO and its PCB data files.
  4. ; These directories may be the same.
  5. ; DemoIcon will be NIL: if PB_DEMO is to be installed to Root or Volume.
  6. ; Will be ignored if parent of the destination directory already has an icon.
  7.  
  8. ; Install latest version of req.library
  9. IF NOT EXISTS Libs:req.library
  10.   ; Prompt user to install req.library.  Exit if `No'
  11.   ReqRequest " Install req.library to LIBS:? " " Yes " " No "
  12.     IF WARN
  13.       SKIP Copy_Lib
  14.     ELSE
  15.       ReqRequest " No point in continuing, then. " " Quit "
  16.       SKIP OutaHere
  17.     ENDIF
  18. ELSE
  19.   Version >NIL: req.library 2
  20.   IF WARN
  21.     SKIP Install_Req
  22.   ENDIF
  23.   Version >NIL: req.library REVISION 5
  24.   IF WARN
  25.     SKIP Install_Req
  26.   ENDIF
  27. ENDIF
  28.  
  29. SKIP Install_Questions
  30.  
  31.  
  32. LAB Install_Req
  33.  
  34. ReqRequest " You have an older version of req.library.  Update it? " " Yes " " No "
  35. IF WARN
  36.   SKIP Copy_Lib
  37. ELSE
  38.   SKIP OutaHere
  39. ENDIF
  40.  
  41.  
  42. LAB Copy_Lib
  43.  
  44. COPY req.library LIBS:
  45.  
  46.  
  47. LAB Install_Questions
  48.  
  49. ASSIGN ProDemoArc: /  ; Set parent directory as source for archives
  50.  
  51. ; Ask user for destination directories for program and data files
  52. ReqInstallDemo
  53.  
  54. IF NOT WARN
  55.   EXECUTE ProDemoArc:Install/InstallScript
  56. ENDIF
  57.  
  58. LAB OutaHere
  59.  
  60. ENDCLI
  61.